<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>蜗牛商城后台管理系统</title>
	<base href="${base}/manage/" />
	<link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css" />
	<script src="../js/jquery-3.5.1.min.js"></script>
	<script src="../js/template-web.js"></script>
	<script src="../bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
	<!-- 标题栏 -->
	<div class="col-md-12 bg-info">
		<div class="col-md-9">
			<h2>蜗牛商城后台管理系统</h2>
		</div>
		<!-- 用户操作面板 -->
		<div class="col-md-3 text-right">
			<h4>欢迎${loginUser.uname}！</h4>
			<a href="../user?opr=adminLogout" class="btn btn-sm btn-danger">退出登录</a>
			<a href="adminUpdateUname.jsp" class="btn btn-sm btn-info">修改昵称</a>
			<a href="adminUpdateUpsw.jsp" class="btn btn-sm btn-warning">修改密码</a>
		</div>
	</div>
</body>
<script type="text/javascript">
 	$(document).ready(function(){
 		if ("${loginUser.upsw}" == "") {
 			alert("请重新登录！");
 			location.href = "login.jsp";
 		}
 	})
</script>
</html>